package com.hfi.security.core.authentication.authorize;

import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer;

/**
 * @author ChangLiang
 * @date 2019/9/9
 */
public interface AuthorizeConfigManager {

    /**
     * 其参数应该是权限配置类中 .authorizeRequests()方法返回回来的对象
     */
    void config(ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry config);
}
